跳到主要内容

ToolbarMenuItem

The toolbar menu item.

Properties

NameTypeDescription
idstringThe item ID.
typeToolbarMenuItemTypeThe item type.
textstringThe item text.
hintstringThe item hint.
iconsstringThe item icons (see the plugins {@link /plugin/config config} documentation).
disabledbooleanSpecifies if the current item is disabled or not.
enableTogglebooleanSpecifies if an item toggle is enabled or not.
lockInViewModebooleanSpecifies if the current item is locked in the view mode or not.
separatorbooleanSpecifies if a separator is used between the toolbar menu items or not.
splitbooleanSpecifies if the toolbar menu items are split or not.
itemsContextMenuItem[]An array containing the context menu items for the current item.

Type

Object